package com.youlai.boot.sport.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.boot.sport.model.entity.SportData;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.sport.model.query.SportDataQuery;
import com.youlai.boot.sport.model.vo.SportDataVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 运动数据Mapper接口
 *
 * @author cuisheng
 * @since 2025-03-31 12:41
 */
@Mapper
public interface SportDataMapper extends BaseMapper<SportData> {

    /**
     * 获取运动数据分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<SportDataVO>   getSportDataPage(Page<SportDataVO> page, SportDataQuery queryParams);

}
